<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // 1.先来验证 浏览器是否支持 BOM / DOM 操作
    console.log(window);
    console.log(document); 
  /** 果然支持
    Window
    #document
  */ 
  </script>
  <!-- 2.验证 浏览器是否支持 操作文件能力？ -->
  <script src="./03.读取文件.js"></script> 
  <!-- 结果报错 require is not defined at 03.读取文件.js:14-->
</body>
</html>